package com.itheima.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder  //使用@Builder注解可以使用构造者模式创建对象
public class EmpDto {
    private String name;
    private Integer gender;
    private LocalDate begin;
    private LocalDate end;
}
